From: Colin Walters Date: Wed, 18 Jun 2014 22:24:41 +0000 (-0400) Subject: tests: Add a test which exercises --fsync=false X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1170 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3d5ff5b542b2bf8e417e48afcfde4ecb9f27866f;p=ostree.git tests: Add a test which exercises --fsync=false --- diff --git a/tests/test-basic.sh b/tests/test-basic.sh index 0a9908de..e0e71329 100755 --- a/tests/test-basic.sh +++ b/tests/test-basic.sh @@ -328,3 +328,9 @@ if $OSTREE commit -b test2 -s "Attempt to commit a FIFO" 2>../errmsg; then fi echo "ok commit of fifo was rejected" +cd ${test_tmpdir} +rm -rf test2-checkout +mkdir -p test2-checkout +cd test2-checkout +touch should-not-be-fsynced +$OSTREE commit -b test2 -s "Unfsynced commit" --fsync=false